
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '财务结算信息',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'yhllbh_86eb3715_fofb',
        name: "{{yhllbh_86eb3715_fofb}}",
        binding: 'yhllbh',
        updateOn: 'blur',
        defaultI18nValue: '银行利率编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    yhllbh: FormControl;

    @NgFormControl({
        id: 'yhllmc_ba16fd86_9a55',
        name: "{{yhllmc_ba16fd86_9a55}}",
        binding: 'yhllmc',
        updateOn: 'blur',
        defaultI18nValue: '银行利率名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    yhllmc: FormControl;

    @NgFormControl({
        id: 'yhllbz_73d02415_ucs8',
        name: "{{yhllbz_73d02415_ucs8}}",
        binding: 'yhllbz',
        updateOn: 'blur',
        defaultI18nValue: '银行利率备注',
    })
    yhllbz: FormControl;

}